﻿<Window x:Class="MediatorSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:MediatorSample"
        Title="Mediator Demonstration" Height="350" Width="525">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Grid.Column="0" Grid.Row="0" Text="Type into the control below"  TextAlignment="Center" />
        <local:TextEntryView Grid.Column="0" Grid.Row="1" />
        <TextBlock Grid.Row="0" Grid.Column="1" TextWrapping="Wrap" Text="Mediator listener is notified and displays the text with no coupling between controls" TextAlignment="Center" />
        <local:TextDisplayView Grid.Row="1" Grid.Column="1" />
    </Grid>
</Window>
